<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<h:form>
<h:dataTable value="#{sala.saleSve}"
             var="s"
             styleClass="stats"
             style="white-space:nowrap;">
    <h:column>
        <f:facet name="header">
            <f:verbatim>Naziv</f:verbatim>
        </f:facet>
        <h:outputText value="#{s.naziv}" />
    </h:column>
    <h:column>
        <f:facet name="header">
            <f:verbatim>Informacije</f:verbatim>
        </f:facet>
        <h:commandButton value="Informacije"
                         action="#{s.informacije}"
                         immediate="true"/>
    </h:column>

    <h:column>
        <f:facet name="header">
            <f:verbatim>Raspored</f:verbatim>
        </f:facet>
        <h:commandButton value="Raspored"
                         action="#{s.raspored}"
                         immediate="true"/>
    </h:column>
</h:dataTable>
</h:form>
